//
//  WPLoopView.h
//  wobingwoyi
//
//  Created by WGP on 16/7/26.
//  Copyright © 2016年 WGP. All rights reserved.
//

#import <UIKit/UIKit.h>


@interface WPLoopView : UIView

/**
 *  创建图片轮播器
 *
 *  @param URLStrs 图片URL数组
 *  @param titles  标题数组
 */
- (instancetype)initWithURLStrs:(NSArray <NSString *> *)URLStrs titles:(NSArray  <NSString *> *)titles didSelected:(void (^)(NSInteger index))didSelected;
/**
 *  时间间隔
 */
@property (nonatomic, assign) NSInteger timerInterval;
// 图片数组
@property (nonatomic, strong) NSArray *URLStrs;

@end
